<!DOCTYPE html>
<html lang="en">
<head>
  
<meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title></title>
  <meta name="viewport" content="initial-scale=1, maximum-scale=1">
  <!-- <link rel="shortcut icon" href="http://favicon.ico"> -->
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <meta name="viewport" content="width=device-width, height=device-height, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">


  <!-- <link rel="stylesheet" href="../../../css/sm.min.css">
  <link rel="stylesheet" href="../../../css/sm-extend.min.css">
  <script type="text/javascript" src="../../../common/common.js"></script> -->
  <link rel="stylesheet" href="https://gitee.com/huaflower/JinTianGuoJiCommonFile/raw/master/css/sm.min.css">
  <link rel="stylesheet" href="https://gitee.com/huaflower/JinTianGuoJiCommonFile/raw/master/css/sm-extend.min.css">
  <script type="text/javascript" src="https://gitee.com/huaflower/JinTianGuoJiCommonFile/raw/master/common/common.js"></script>
  
  <style>

  </style>
</head>
<body>
  
  <div class="page-group">
    <div class="page">
        <header class="bar bar-nav">
          <a class="icon icon-left pull-left"></a>
          <!-- <a class="icon icon-refresh pull-right"></a> -->
          <h1 class="title">消息设置</h1>
        </header>
        <!-- 页面内容区域 -->
        <div class="content">
          <!-- <div class="content-block-title">图标、标题和副标题</div> -->
          <div class="list-block">
            <ul>
              <li class="item-content" id="selector">
                <div class="item-inner">
                  <div class="item-title">
                    企业通知
                  </div>
                  <div class="item-after">
                      <label class="label-switch">
                          <input type="checkbox">
                          <div class="checkbox"></div>
                      </label>
                  </div>
                </div>
              </li>
              <li class="item-content">
                <div class="item-inner">
                  <div class="item-title">
                    活动通知
                  </div>
                  <div class="item-after">
                      <label class="label-switch">
                          <input type="checkbox">
                          <div class="checkbox"></div>
                      </label>
                  </div>
                </div>
              </li>
              <li class="item-content">
                <div class="item-inner">
                  <div class="item-title">
                    管理通知
                  </div>
                  <div class="item-after">
                      <label class="label-switch">
                          <input type="checkbox" value="true" onchange="guanli(value)" id="input3">
                          <div class="checkbox"></div>
                      </label>
                  </div>
                </div>
              </li>
            </ul>
          </div>
        </div>

    </div>
  </div>
  <!-- 固定的js引用，所有的jQuery 要用 $$ 表示 -->
<script type="text/javascript" src="https://gitee.com/huaflower/JinTianGuoJiCommonFile/raw/master/js/jquery-1.11.1.min.js"></script>
<!-- 这一行代码是为了 避免js冲突 -->
<script type="text/javascript">var $$ =jQuery.noConflict();</script>

<script type='text/javascript' src='https://gitee.com/huaflower/JinTianGuoJiCommonFile/raw/master/zepto/zepto.min.js' charset='utf-8'></script>
<script type='text/javascript' src='https://gitee.com/huaflower/JinTianGuoJiCommonFile/raw/master/js/sm.min.js' charset='utf-8'></script>
<!-- <script type='text/javascript' src='https://gitee.com/huaflower/JinTianGuoJiCommonFile/raw/master/js/sm-extend.min.js' charset='utf-8'></script> -->
<script src="https://gitee.com/huaflower/JinTianGuoJiCommonFile/raw/master/js/swiper/swiper.min.js"></script>
<script type="text/javascript">
  

  //放函数区域
  function guanli(value){
    console.log(value);
    if(value == 'true'){
      $$("#input3").val('false');
    }
    if(value == 'false'){
      $$("#input3").val('true');
    }
  };




  //需要初始化传递数据的函数，函数名，跟参数都不要变，固定写死的
  function getParams(data){
   // data需要转成json调用 ，函数urlParamParseJson();
     /*var jodata = JSON.parse(data); 
     if(isNotNull(jodata)){//
        
     }*/
     if(isNotNull(data)){
        // $$("#div_version").html("版本号：V"+data);
     }
  }



  	
    // 初始化
    $(function(){
      $.init();
      $$("#input3").val('true');
    });
  </script>
</body>
</html>